<template>
  <el-popover
    popper-class="zw-table-scope-popover"
    placement="top-start"
    trigger="hover"
    :content="props.params || '--'"
  >
    <template #reference>
      <slot>
        <div class="ellipsis-1" >{{ props.params || '--' }}</div>
      </slot>
    </template>
  </el-popover>
</template>

<script lang="ts" setup>
  const props = defineProps(['params'])
</script>